﻿

<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IQueryable<VTLive.Models.Station>>" %>

<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
</asp:Content>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
    <div id="container">
        <div id="new_stations">
            <h3>
                New Stations</h3>
               
     <ul>
      <%foreach (VTLive.Models.Station station in Model)
      { %>
        <li>
            <%=Html.ActionLink(station.Name, "Details", "Station" ,new { id = station.ID },null)%>

        </li>
    <% } %>
    </ul>
   



        </div>
        <div id="stations_by_name">
            <h3>
                New Material</h3>
    <ul>
      <%foreach (VTLive.Models.Station station in Model.OrderBy(station => station.Name))
      { %>
        <li>
            <%=Html.ActionLink(station.Name, "Details", "Station" ,new { id = station.ID },null)%>
        </li>
    <% } %>
    </ul>
            <div id="cleardiv">
            </div>
        </div>
    </div>
    <div class="category">
        <ul>
            <li><a href="http://www.website.com">Íþróttir </a></li>
            <li><a href="http://www.website.com">Gaman </a></li>
            <li><a href="http://www.website.com">Fréttir </a></li>
            <li><a href="http://www.website.com">Teikimyndir </a></li>
            <li><a href="http://www.website.com">Kvikmyndir </a></li>
            <li><a href="http://www.website.com">Hrollvekja </a></li>
            <li><a href="http://www.website.com">Tónlistamyndbönd </a></li>
        </ul>
    </div>
</asp:Content>